package MuleBackend;

public class LandFactory {

	public LandFactory() {
		//empty
	}
	
	public Land createLand(int num) {
		Land object = new Land();
		switch (num) {
			case 0:	 object = new NullTown(); 	break;
			case 1:	 object = new Mountain1();	break;
			case 2:	 object = new Mountain2();	break;
			case 3:	 object = new Mountain3();	break;
			case 4:	 object = new Plains();		break;
			case 5:	 object = new River();		break;
		}
		return object;
	}
}
